﻿<UserControl x:Class="DSTMEETING.Win.App.Parts.MeetingCard"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="200" d:DesignWidth="400">
    <Border BorderBrush="DarkBlue" BorderThickness="1" Background="#55000000">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="auto"/>
                    <RowDefinition Height="auto"/>
                    <RowDefinition Height="auto"/>
                </Grid.RowDefinitions>
                <TextBlock Text="很长很长的会议名称，会议名称" HorizontalAlignment="Center" TextWrapping="Wrap" TextAlignment="Center" FontSize="32" Grid.Row="0"/>
                <Label Content="2015年6月1日 14点30分" HorizontalAlignment="Center" FontSize="18" Grid.Row="1"/>
                <Label Content="会议室1123" HorizontalAlignment="Center" FontSize="18" Grid.Row="2"/>
            </Grid>

            <Button Content="Join" Grid.Column="1" HorizontalAlignment="Center" Click="Button_Click"/>
        </Grid>
    </Border>
</UserControl>
